package com.example.demo5072.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo5072.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

/**
 * @author lzh
 * @date 2019/7/29 - 13:54
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {


    @Select("select * from user where uid = #{m.uid} order by `id` desc")
    List<User> selectpage(Map<String,Object> m, Page<User>  page);

























}
